/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package assignment1;

/**
 *
 * @author Karin West
 * Student No: 201099764 [part-time]
 */
public class Assignment1 implements myInterface {

    private float numOne = 123456789.34f;
    private int numTwo = 100;
    private String name = "Sam";

    public Assignment1()
    {
        super();
    }

    public Assignment1(float numOne, int numTwo, String name)
    {
	super();
	this.numOne = numOne;
	this.numTwo = numTwo;
	this.name = name;
    }

    public float getnumOne()
    {
	return numOne;
    }

    public void setnumOne(float numOne)
    {
	this.numOne = numOne;
    }

    public int getnumTwo()
    {
	return numTwo;
    }

    public void setnumTwo(int numTwo)
    {
	this.numTwo = numTwo;
    }

    public String getname()
    {
	return name;
    }

    public void setname(String name)
    {
	this.name = name;
    }

    @Override
    public String toString()
    {
	return "Assignment [number one=" + numOne + ", Number two=" + numTwo + ", name = " + name + "]";
    }

    @Override
    public String methodEquals() {
        return getname();
    }

}
